﻿
namespace Jim.SHR;

/// <summary>组织取数接口（全量）</summary>
[Sdk("inteOAGetAdminOrgDataService", "组织取数接口（全量）")]
public class SHRInteOAGetAdminOrgDataServiceRequest : ISdkRequest<SHRInteOAGetAdminOrgDataServiceResponse>
{

}

public class SHRInteOAGetAdminOrgDataServiceResponse : SdkResponse<List<SHROrg>> { }

/// <summary>
///   <para>SHR组织</para>
/// </summary>
public class SHROrg
{
    /// <summary>
    /// 上级行政组织 ID（非编码）
    /// </summary>
    /// <value>string</value>
    public string Superior { get; set; }
    /// <summary>
    /// 是否封存
    /// </summary>
    /// <value>string</value>
    public string Status { get; set; }
    /// <summary>
    /// 组织名称
    /// </summary>
    /// <value>string</value>
    public string Name { get; set; }
    /// <summary>
    /// 组织 ID
    /// </summary>
    /// <value>string</value>
    [JsonProperty("easdept_id")]
    public string DeptId { get; set; }
    /// <summary>
    /// 上级行政组织名称
    /// </summary>
    /// <value>string</value>
    public string SupName { get; set; }
    /// <summary>
    /// 组织编码
    /// </summary>
    /// <value>string</value>
    public string Fnumber { get; set; }
    /// <summary>
    /// 是否叶子节点,为 1 是，为 0 否
    /// </summary>
    /// <value>string</value>
    public string Endflag { get; set; }
    /// <summary>
    /// 创建时间
    /// </summary>
    /// <value>string</value>
    public string FCreateTime { get; set; }
    /// <summary>
    /// 接受成功的数据条数
    /// </summary>
    /// <value>string</value>
    public string FLastUpdateTime { get; set; }
    /// <summary>
    /// 排序码
    /// </summary>
    /// <value>string</value>
    public string SortCode { get; set; }
    /// <summary>
    /// 上级行政组织编码
    /// </summary>
    /// <value>string</value>
    public string SupFnumber { get; set; }
    /// <summary>
    /// 生效日期
    /// </summary>
    /// <value>string</value>
    public string FEffectDate { get; set; }
}
